From 2e7b17d9e3c91c2b7c7c63cab0b4aba119a01fe0 Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Thu, 22 Nov 2007 14:12:47 +0000 Subject: [PATCH] x86-64: access only 4 bytes a the reset vector location on smpboot. Signed-off-by: Jan Beulich --- xen/include/asm-x86/mach-default/smpboot_hooks.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xen/include/asm-x86/mach-default/smpboot_hooks.h b/xen/include/asm-x86/mach-default/smpboot_hooks.h index 5b4dac9518..48e589e018 100644 --- a/xen/include/asm-x86/mach-default/smpboot_hooks.h +++ b/xen/include/asm-x86/mach-default/smpboot_hooks.h @@ -30,7 +30,7 @@ static inline void smpboot_restore_warm_reset_vector(void) */ CMOS_WRITE(0, 0xf); - *((volatile long *) maddr_to_virt(0x467)) = 0; + *((volatile int *) maddr_to_virt(0x467)) = 0; } static inline void smpboot_setup_io_apic(void) -- 2.30.2